<html>
<head>
<title>My Form</title>

	<link rel="stylesheet" type="text/css" href="<?php echo  base_url() ?>public/css/bootstrap-theme.min.css">
	<link rel="stylesheet" type="text/css" href="<?php echo  base_url() ?>public/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="<?php echo  base_url() ?>public/css/style.css">
	<link rel="stylesheet" type="text/css" href="<?php echo  base_url() ?>public/css/basic.css">
</head>
<body>

<?php echo validation_errors(); ?>
	<div class="container">
		<div class="col-md-6 col-md-offset-3">
			
			<form class="mt50 pull_right" method="POST" action="" >
				<div class="panel panel-default">
					<div class="panel-heading">
						<h1 class="panel-title">用户登入</h1>
						<div class="form-group">
							<label>Username</label>
							<input type="text" name="username" class="form-control" id="exampleInputEmail1" placeholder="Username" value="<?php echo set_value("username"); ?>">
						</div>
						<div class="form-group">
							<label class="col_sm_4">Password</label>
							<input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="Password" value="<?php echo set_value("password"); ?>">
						<div class="error"><?php echo validation_errors(); ?></div>
						</div>
						<button type="submit" class="btn btn-success btn-block">Submit</button>
					</div>
				</div>
			</form>
			
		</div>
	</div>
</body>
</html>